
class Thread {
 public:

  void setData (void *data);  
  bool start ();
  bool join  ();
  bool stop  ();

  ~Thread ();
 
 private:
  virtual void *run (void *data);

  pthread_t threadInfo;
  void *data; 
};

